import request from '@/router/axios';

//1.获取authURL email,password
export const getAuthURLTwit = (row) => {
  return request({
    url: '/api/blade-social/twitter/authUrl',
    method: 'get',
    params: row
  })
}

//3.绑定账户 - pin accountEmail
export const bindAccountTwit = (oauthVerifier,accountEmail) => {
  return request({
    url: `/api/blade-social/twitter/bind?oauthVerifier=${oauthVerifier}&accountEmail=${accountEmail}`,
    method: 'post',
    headers: {
      "Content-Type": "application/json"
    },
  })
}
